﻿<%@ Page Title="医院积分情况统计" Language="C#" MasterPageFile="~/Master/MasterPage_New.master" 
AutoEventWireup="true" CodeBehind="HospitalScoreStatistics.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.NewReport.HospitalScoreStatistics" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li><a href="SunScoreList.aspx">阳光积分查看</a></li>
            <li><a href="SunMarkList.aspx">阳光积分得分查看</a></li>
            <li class="active"><a href="#">医院积分情况统计</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr class="ltlAdvance">
                            <td align="right">
                                所在地区：
                            </td>
                            <td align="left">
                                <uc3:AreaControl ID="ddlArea" runat="server" />
                            </td>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="ltlAdvance">
                            <td align="right">
                                开始时间：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="startyear" runat="server" Width="80px" onFocus="WdatePicker({dateFmt:'yyyy'})"></asp:TextBox>年<asp:TextBox 
                                    ID="startmonth" runat="server" Width="70px"  onFocus="WdatePicker({dateFmt:'MM'})"></asp:TextBox>月
                            </td>
                            <td align="right">
                               结束时间：
                            </td>
                            <td align="left">
                               <asp:TextBox ID="endyear" runat="server" Width="80px" onFocus="WdatePicker({dateFmt:'yyyy'})"></asp:TextBox>年<asp:TextBox 
                                    ID="endmonth" runat="server" Width="70px"  onFocus="WdatePicker({dateFmt:'MM'})"></asp:TextBox>月
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>

    <asp:GridView ID="gvw" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="AreaNameSZ" HeaderText="市州" />
            <asp:BoundField DataField="AreaNameQX" HeaderText="区县" />
            <asp:BoundField DataField="HosName" HeaderText="医院名称" />
            <asp:BoundField DataField="YSW" HeaderText="是否上网考核" />
            <asp:BoundField DataField="Y1" HeaderText="1月" />
            <asp:BoundField DataField="Y2" HeaderText="2月" />
            <asp:BoundField DataField="Y3" HeaderText="3月" />
            <asp:BoundField DataField="Y4" HeaderText="4月" />
            <asp:BoundField DataField="Y5" HeaderText="5月" />
            <asp:BoundField DataField="Y6" HeaderText="6月" />
            <asp:BoundField DataField="Y7" HeaderText="7月" />
            <asp:BoundField DataField="Y8" HeaderText="8月" />
            <asp:BoundField DataField="Y9" HeaderText="9月" />
            <asp:BoundField DataField="Y10" HeaderText="10月" />
            <asp:BoundField DataField="Y11" HeaderText="11月" />
            <asp:BoundField DataField="Y12" HeaderText="12月" />
            <asp:BoundField DataField="AVGScore" HeaderText="平均积分" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged"
            AlwaysShow="true">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="Export" runat="server" Text="导出Excel" CssClass="btn" OnClick="Export_Click" />
    </div>
    <div class="listip">
        <ul>
            <li>说明： </li>
        </ul>
    </div>
</asp:Content>
